#pragma once
#include "character.h"
#include "Sprite.h"
#include "Utils.h"
#include "ListBullet.h"

class CSuperTurret :
	public CCharacter
{
private:
	CSprite *_Sprite;
	int _count;
	DWORD frame_start, tick_per_frame, shoot_chain_start, shoot_start;
	int _CurrentFrame;
	int _ShootCount;
	bool _IsShootable;
	static int _GunXPosition[3];
	static int _GunYPosition[3];
	static double _ShootAngle[3];
	CListBullet *_ListBullet;
public:
	CSuperTurret(int X, int Y);
	~CSuperTurret(void);
	void Update(D3DXVECTOR2 ContraPositon);
	void Render(D3DXVECTOR2 ContraPositon);
	Box GetBox();
	void Shoot();
};

